package com.qingmi.farmer.ui.notice;

import android.databinding.ObservableField;

import com.wjjun.base.ui.base.ListViewModel;

/**
 * 公告的ViewModel
 */
public class NoticeViewModel extends ListViewModel {

    //标题
    public final ObservableField<String> title = new ObservableField<>();

    //内容
    public final ObservableField<String> context = new ObservableField<>();

    //发布时间
    public final ObservableField<Long> time = new ObservableField<>();
    public final ObservableField<String> timeFormat = new ObservableField<>("yyyy-MM-dd");

    //内容Url
    public final ObservableField<String> url = new ObservableField<>();


}
